<template>
  <div>

    <el-container>
      <el-header>
        <el-row id="top">
          <el-col :span="4">
            <div id="top-1">&nbsp</div>
          </el-col>
          <el-col :span="2">
            <div id="top-2"> 再&nbsp生&nbsp道™</div>
          </el-col>
          <el-col :span="10">
            &nbsp
          </el-col>
          <el-col :span="6">
            <div id="top-3"><i class="el-icon-phone-outline"></i>咨询在线客服</div>
            <div>800-820-8820</div>
            <el-button type="danger" round @click="pushUserLogin">员工登录</el-button>
            <el-button type="success" @click="pushRegister" round>还没账号？前去注册➡</el-button>
          </el-col>
        </el-row>
      </el-header>
      <el-divider></el-divider>
      <el-main>
        <el-row>
          <el-col id="centre">
            <el-menu class="el-menu-demo" mode="horizontal">
              <el-menu-item index="1">首页&nbsp&nbsp&nbsp</el-menu-item>
              <el-menu-item index="2">找回收站&nbsp&nbsp&nbsp</el-menu-item>
              <el-menu-item index="3">垃圾分类指南&nbsp&nbsp&nbsp</el-menu-item>
              <el-menu-item index="4">环保资讯&nbsp&nbsp&nbsp</el-menu-item>
              <el-menu-item index="5">再生专题&nbsp&nbsp&nbsp</el-menu-item>
              <el-menu-item index="6">机构入驻&nbsp&nbsp&nbsp</el-menu-item>
            </el-menu>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="2">
            &nbsp
          </el-col>
          <el-col :span="20">
            <div class="block">
              <el-carousel height="455px">
                <el-carousel-item v-for="item in 4" :key="item">
                  <h3 class="small">{{ item }}</h3>
                </el-carousel-item>
              </el-carousel>
            </div>
          </el-col>
          <el-col :span="2">
            &nbsp
          </el-col>
        </el-row>
        <el-row style="background-color: rgb(247, 247, 247);">
          <el-col :span="6" id="centre1">
            寻找最佳垃圾回收方案
          </el-col>
          <el-col :span="18"></el-col>
        </el-row>
        <el-row style="background-color: rgb(247, 247, 247);">
          <el-col :span="1">
            &nbsp
          </el-col>
          <el-col :span="6" id="centre-1">
            <div id="centre-1-1"> 分类垃圾回收</div>
            <el-divider></el-divider>
            <div>
              提供专业的分类垃圾回收服务，帮助您正确处理各类垃圾，保护环境，共创美好家园。
            </div>
          </el-col>
          <el-col :span="2">
            &nbsp
          </el-col>
          <el-col :span="6" id="centre-1">
            <div id="centre-1-1"> 上门回收服务</div>
            <el-divider></el-divider>
            <div>
              我们提供方便快捷的上门回收服务，只需一个电话，我们会安排专业人员上门取件，让垃圾处理更加省心。
            </div>
          </el-col>
          <el-col :span="2">
            &nbsp
          </el-col>
          <el-col :span="6" id="centre-1">
            <div id="centre-1-1"> 回收兑换</div>
            <el-divider></el-divider>
            <div>
              回收垃圾还能兑换积分和礼品，环保同时还能获益，一举多得。
            </div>
          </el-col>
          <el-col :span="1">
            &nbsp
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="6" id="centre1">
            热门垃圾回收服务推荐
          </el-col>
          <el-col :span="14" id="five-1">
            家庭垃圾回收、电子废物回收、塑料回收、金属回收、纸张回收等服务查询
          </el-col>
          <el-col :span="4"></el-col>
        </el-row>
        <el-row id="three">
          <el-col>
            &nbsp
            <div id="window1">
              <template>
                <el-popover placement="top-start" title="家庭垃圾回收" width="200" trigger="hover"
                  content="提供全面的家庭垃圾分类与回收服务">
                  <el-button slot="reference">家&nbsp庭&nbsp垃&nbsp圾&nbsp回&nbsp收</el-button>
                </el-popover>
              </template>
            </div>
            <div id="window2">
              <template>
                <el-popover placement="top-start" title="电子废物回收" width="200" trigger="hover"
                  content="专业处理和回收电子废物，减少环境污染">
                  <el-button slot="reference">电&nbsp子&nbsp废&nbsp物&nbsp回&nbsp收</el-button>
                </el-popover>
              </template>
            </div>
            <div id="window3">
              <template>
                <el-popover placement="top-start" title="塑料回收" width="200" trigger="hover"
                  content="提供各类塑料废品的回收与再利用服务">
                  <el-button slot="reference">塑&nbsp料&nbsp回&nbsp收</el-button>
                </el-popover>
              </template>
            </div>
            <div id="window4">
              <template>
                <el-popover placement="top-start" title="金属回收" width="200" trigger="hover"
                  content="专业回收各类金属废品，实现资源再生">
                  <el-button slot="reference">金&nbsp属&nbsp回&nbsp收</el-button>
                </el-popover>
              </template>
            </div>
            <div id="window5">
              <template>
                <el-popover placement="top-start" title="纸张回收" width="200" trigger="hover"
                  content="提供高效的废纸回收与处理服务">
                  <el-button slot="reference">纸&nbsp张&nbsp回&nbsp收</el-button>
                </el-popover>
              </template>
            </div>
            <div id="window6">
              <template>
                <el-popover placement="top-start" title="有害垃圾处理" width="200" trigger="hover"
                  content="安全处理有害垃圾，保护环境健康">
                  <el-button slot="reference">有&nbsp害&nbsp垃&nbsp圾&nbsp处&nbsp理</el-button>
                </el-popover>
              </template>
            </div>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="24" id="centre1" style="margin-left: -600px;">平台优势</el-col>
          <el-col :span="24" id="four">&nbsp</el-col>
        </el-row>
      </el-main>
      <el-footer id="lost">
        <el-row id="top">
          <el-col :span="4">
            <div id="five1">&nbsp</div>
          </el-col>
          <el-col :span="2">
            <div id="five-2"> 再&nbsp生&nbsp道</div>
          </el-col>
          <el-col :span="12" id="lost-1">
            <a href="#">关于我们</a>
            <a href="#">联系我们</a>
            <a href="#">加入我们</a>
          </el-col>
          <el-col :span="4">
            <div id="top-3"><i class="el-icon-phone-outline"></i>咨询环保顾问</div>
            <div>800-820-8820</div>
            <el-button type="success" round> 点击定制垃圾回收方案</el-button>
          </el-col>
        </el-row>
        <el-divider></el-divider>
        <el-row>
          <el-col id="six-1">
            合作：  绿色环保网 环保信息网 垃圾分类网 资源再生网 环保技术网
          </el-col>
          <el-col id="six-2">
            热门城市垃圾回收站： 北京垃圾回收站 上海垃圾回收站 成都垃圾回收站 深圳垃圾回收站 南京垃圾回收站 青岛垃圾回收站 天津垃圾回收站 广州垃圾回收站 杭州垃圾回收站 重庆垃圾回收站 大连垃圾回收站 石家庄垃圾回收站 济南垃圾回收站 武汉垃圾回收站 长春垃圾回收站 沈阳垃圾回收站 西安垃圾回收站 长沙垃圾回收站 三亚垃圾回收站 郑州垃圾回收站 哈尔滨垃圾回收站 合肥垃圾回收站 贵阳垃圾回收站 福州垃圾回收站 南宁垃圾回收站
          </el-col>
          <el-col id="six-3">
            Copyright © 2024 北京再生道环保科技有限公司  京ICP备18018472号-2 京公网安备 11011202001545号
          </el-col>
        </el-row>
      </el-footer>
    </el-container>
  </div>
</template>

<script>
  export default {
    name: "Fister",
    data() {
      return {
        visible: false
      }
    },
    methods: {
      pushRegister(){
        this.$router.push('/Register');
      },
    pushUserLogin(){
       this.$router.push('/employeeLogin');
    }
    },
    created() {

    }
  }
</script>

<style scoped>
  #six-3{
    color: bisque;
    text-align: center;
  }
  #six-2{
    color: bisque;
    text-align: center;
  }
  #six-1{
    color: bisque;
    text-align: center;
  }
  #lost-1{
     text-align: center !important; /* 垂直居中 */
    align-items: center !important;
  }
  #lost{
    background-color: rgb(42, 44, 55);
    color: white !important;
      height: 300px !important;
  }
  #four {
    background-image: url(../../static/7.png);
    background-size: cover;
    line-height: 230px;
  }

  #window6 {
    margin-top: -200px;
    margin-right: -660px;
  }

  #window5 {
    margin-top: -200px;
    margin-right: -840px;
  }

  #window4 {
    margin-top: -640px;
    margin-right: -600px;
  }

  #window2 {
    margin-top: -200px;
    margin-left: -800px;
  }

  #window3 {
    margin-top: -200px;
    margin-left: -600px;
  }

  #window1 {
    margin-top: -440px;
    margin-left: -600px;
  }

  #three {
    margin-top: -20px;
    margin-left: 140px;
    line-height: 350px;
    background-image: url(../../static/6.jpg);
  }

  #centre-1-1 {

    margin-left: -160px;
    font-size: 25px;
    margin-top: 5px;
    color: black;
    font-family: '华文细黑';
  }

#five-1{
  line-height: 60px;
  margin-left: 40px;
  font-size: 20px;
  font-family: '楷体';
}
  #centre1 {
    line-height: 60px;
    margin-left: 40px;
    font-size: 40px;
    font-family: '华文隶书';
  }

  #centre-1 {
    color: white;
    background-color: darkgrey;
    background-size: cover;
    line-height: 30px;
    word-wrap: break-word !important;
    font-family: '楷体';
    font-size: 17px;
  }

  .el-carousel__item h3 {
    color: #475669;
    font-size: 14px;
    opacity: 0.75;
    line-height: 150px;
    margin: 0;
  }

  .el-carousel__item:nth-child(2n) {
    background-image: url(../../static/2.png);
    background-size: cover;
  }

  .el-carousel__item:nth-child(2n+1) {
    background-image: url(../../static/3.png);
    background-size: cover;
  }

  #centre {
    margin-left: 40px;
  }

  #top-3 {
    font-family: '华文新魏';
    margin-top: 30px;
    font-size: 25px;
  }
  #five-2{
    font-family: '华文彩云';
    margin-top: 40px;
    font-size: 25px;
  }
  #top-2 {
    font-family: '华文彩云';
    margin-top: 30px;
    font-size: 25px;
  }
  #five1{
    margin-top: 20px;
    margin-left: 70px;
    line-height: 110px;
    background-image: url(/static/logo.png);
    background-size: auto 100%;
  }
  #top-1 {
    margin-left: 70px;
    line-height: 110px;
    background-image: url(/static/logo.png);
    background-size: auto 100%;
    /* 横向拉伸，纵向保持原始比例 */
  }

  .el-header {
    background-color: white;
    color: #333 !important;
    text-align: center !important;
    height: 120px !important;
  }

  .el-main {
    background-color: white;
    color: #333;
    text-align: center;
    line-height: 260px;
  }

  * {
    margin: 0;
    padding: 0;
  }
</style>
